package com.information.manage.basic.model.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("新增菜单元数据")
public class AddMenuQuery {

    @ApiModelProperty("上级菜单id")
    private Integer menuParentId;

    @ApiModelProperty(value = "菜单名称", required = true)
    private String menuName;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty(value = "是否必选", required = true)
    private boolean must;

    @ApiModelProperty(value = "是否隐藏")
    private boolean hide;

    @ApiModelProperty(value = "路由")
    private String route;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "类型 0 menu 1 add 2 delete 3 update 4 query", required = true)
    private Integer menuType;

}
